<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04-栅格系统-嵌套</title>
    <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <script type="text/javascript">

    </script>
    <style type="text/css">
        div[class*='col-']{
            background-color: gold;
            border: 1px solid #666; 
            height: 50px;   
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- row的作用是为了对齐 -->
        <div class="row">
            <div class="col-lg-4">
                <div class="row">
                    <div class="col-sm-3">1-1</div>
                    <div class="col-sm-3">1-2</div>
                    <div class="col-sm-3">1-3</div>
                    <div class="col-sm-3">1-4</div>
                </div>
            </div>
            <div class="col-lg-4">2</div>
            <div class="col-lg-4">3</div>
        </div>
    </div>
</body>
</html>
